/**
 * 整个app路由设置
 */
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    component: require('@/components/Index'),
    children: [
      {
        path: '/',
        component: require('@/components/views/Fashion')
      },
      {
        path: 'songlist',
        component: require('@/components/views/SongList')
      },
      {
        path: 'ranking',
        component: require('@/components/views/Ranking')
      },
      {
        path: 'detail',
        component: require('@/components/views/SongListDetail')
      },
    ]
  }
  ]
})
